package com.xiangyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangyang.entity.Department;
import com.xiangyang.entity.dto.Result;

public interface IDepartmentServer extends IService<Department> {
     Result addDepartment(Department department); //添加部门
     Result deleteDepartment(Long departmentId);  //删除部门
     Result updateDepartment(Department department); //修改部门
     Result getDepartmentList(Department department); //根据条件查询部门
     Result getDepartmentList(); //查询所有部门

}
